//
//  BookCCell.m
//  Unicorn
//
//  Created by xalo on 16/4/30.
//  Copyright © 2016年 bhj_jun. All rights reserved.
//

#import "BookCCell.h"

@implementation BookCCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setCellWithModel:(BookCModel *)object
{
    if ([object class] == [BookCModel class]) {
        BookCModel *model = object;
        self.titleLabel.text = model.title;
        self.contentLabel.text = model.content;

    }
    
}


@end
